class Section < ActiveRecord::Base
  belongs_to :user

  has_many :followers, dependent: :restrict_with_error

  has_many :students, through: :followers, source: :student_user

  belongs_to :script

end
